package cc.rengu.igas.momp.common.dao;

import cc.rengu.igas.momp.common.entity.TMStat2CUserDay;

/**
 * 对客户营销活动单日统计表数据库操作接口定义
 *
 * @author liujinan
 * @date 2020/11/11 10:49
 */

public interface TMStat2CUserDayMapper {

    /**
     * 获取对客户营销活动单日统计表数据数据库操作接口实现
     *
     * @param tmStat2CUserDay 对客户营销活动用户单日统计表
     * @return cc.rengu.igas.momp.common.entity.tmStat2CUserDay 对客户营销活动用户单日统计表
     * @throws Exception 异常信息
     * @author liujinan
     * @date 2020/11/11 13:51
     */
    TMStat2CUserDay selectToClientMcUserDayStatistics(TMStat2CUserDay tmStat2CUserDay) throws Exception;

    /**
     * 更新对客户营销活动单日统计表数据数据库操作接口实现
     *
     * @param tmStat2CUserDay 对客户营销活动用户单日统计表
     * @return cc.rengu.igas.momp.common.entity.tmStat2CUserDay 对客户营销活动用户单日统计表
     * @throws Exception 异常信息
     * @author liujinan
     * @date 2020/11/11 13:51
     */
    int updateToClientMcUserDayStatistics(TMStat2CUserDay tmStat2CUserDay) throws Exception;

    /**
     * 插入对客户营销活动单日统计表数据数据库操作接口实现
     *
     * @param tmStat2CUserDay 对客户营销活动用户单日统计表
     * @return cc.rengu.igas.momp.common.entity.tmStat2CUserDay 对客户营销活动用户单日统计表
     * @throws Exception 异常信息
     * @author liujinan
     * @date 2020/11/11 13:51
     */
    int insertSingleToClientMcUserDayStatistics(TMStat2CUserDay tmStat2CUserDay) throws Exception;

}
